package cn.wilson.hrm.dto;


import cn.wilson.hrm.domain.Employee;
import cn.wilson.hrm.domain.Tenant;

/**
 *      用来接收机构入驻的参数
 *              前端参数必须以这种格式进行提交
 *                 {
 *                     tenant:{tenant里面的字段},
 *                     employee:{employee里面的字段}
 *                     mealId:一个数字
 *                 }
 */
public class EnteringDTO {
    //1、前端传几个字段的数据你这儿就写几个字段
    //2、对象组合的方式
    //接收tenant参数
    private Tenant tenant;
    //接收员工的参数
    private Employee employee;
    //接收meal的id
    private Long mealId;

    public Tenant getTenant() {
        return tenant;
    }

    public void setTenant(Tenant tenant) {
        this.tenant = tenant;
    }

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    public Long getMealId() {
        return mealId;
    }

    public void setMealId(Long mealId) {
        this.mealId = mealId;
    }
}
